package com.example.business;

import com.example.client.NetworkChannel;

public class SendFileBusiness implements BusinessStrategy {
    private NetworkChannel networkChannel;

    public SendFileBusiness(NetworkChannel networkChannel) {
        this.networkChannel = networkChannel;
    }

    @Override
    public void execute() {
        // 实现发送文件业务逻辑
        System.out.println("发送文件");
        networkChannel.sendData("测试数据");
    }
}
